// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import * as echarts from 'echarts'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import '@/assets/css/font.css'
import VueCodeMirror from 'vue-codemirror'
import 'codemirror/lib/codemirror.css'

Vue.use(VueCodeMirror)
Vue.prototype.$axios = axios
//axios.defaults.baseURL = 'https://yangtaoer.com.cn/'
//axios.defaults.baseURL = 'http://192.168.101.14:12999/'
axios.defaults.baseURL = 'http://192.168.10.21:12999/'
//axios.defaults.baseURL = 'http://127.0.0.1:12999/'
Vue.use(ElementUI)
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
